package com.pur.zsms.supplier.service;

import java.util.List;
import java.util.Map;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.documentsmanage.vo.DomVo;
import com.pur.zsms.matermanage.mater.po.MaterLevelPo;
import com.pur.zsms.matermanage.mater.vo.MaterVo;
import com.pur.zsms.ordercustommanage.po.OrderSupplierMaterPo;
import com.pur.zsms.pmsnmanage.user.po.UserPo;
import com.pur.zsms.pmsnmanage.user.vo.UserVo;
import com.pur.zsms.supplier.po.SupplierDistributeMaterPo;
import com.pur.zsms.supplier.po.SupplierDistributePo;
import com.pur.zsms.supplier.po.SupplierPo;
import com.pur.zsms.supplier.po.SupplierQualificationPo;
import com.pur.zsms.supplier.vo.ShopSupplierVo;
import com.pur.zsms.supplier.vo.SupplierDistributeMateVo;
import com.pur.zsms.supplier.vo.SupplierDistributeVo;
import com.pur.zsms.supplier.vo.SupplierOrderCustVo;
import com.pur.zsms.supplier.vo.SupplierQualificationVo;
import com.pur.zsms.supplier.vo.SupplierVo;
import com.pur.zsms.systemsetting.datadictionary.po.Code;
import com.pur.zsms.systemsetting.datadictionary.vo.CodeVo;

public interface ISupplierDistributeService {

	String msg = "";

	public String getMsg();

	public void setMsg(String msg);

	public PaginationSupport findDistributeMater(PageController pageController, SupplierDistributeMateVo supplierVo) throws GenericException;

	public PaginationSupport findDistributeMaterForGather(PageController pageController, SupplierDistributeMateVo supplierVo) throws GenericException;

	// 页面数据数量
	public int findDistributeMater(SupplierDistributeMateVo supplierVo) throws GenericException;

	public PaginationSupport findMaterId(PageController pageController, MaterVo materVo) throws GenericException;

	public String checkSupplierDistributeForGather(MaterVo tMaterVo) throws GenericException;

	public void addSupplierDistributeMaterPo(String materJson, int supId) throws GenericException;

	public void updateSupplierDistributeMaterPo(String materJson, int supId) throws GenericException;

	public List<SupplierDistributeMaterPo> getSupplierDistributeMaterPoBySupId(int supId) throws GenericException;

	public void deleteSupplierDistributeMaterPo(int materId, int supId) throws GenericException;

}
